﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 方法定义
{
    class Class1
    {
        public Double Add(double num1, double num2)
        {
            return num1 + num2;
        }
        public Double Minus(double num1, double num2)

        {
            return num1 - num2;

        }
        public Double Multiply(double num1, double num2)
            
        {
            return num1 * num2;

        }
        public Double Divide(double num1, double num2)
        {
            return num1 / num2;
        }

    }
}
